Crate audio_core

source ·
Expand description

github crates.io docs.rs

The core audio traits.

If you want to build an audio component that is completely agnostic to the shape of any one given audio buffer you can add a dependency directly to these traits instead of depending on all of the audio crate.

Re-exports

Modules

  • Trait for dealing with abstract channel buffers.
  • Utility traits for dealing with sample translations.

Traits

  • A trait describing a mutable audio buffer.
  • One channel of audio samples, usually one of several channels in a multichannel buffer
  • One channel of audio samples, usually one of several channels in a multichannel buffer
  • Trait used to describe a buffer that knows exactly how many frames it has regardless of if it’s sized or not.
  • The buffer of a single frame.
  • The buffer of a single frame.
  • A trait describing a buffer that is interleaved.
  • A trait describing a buffer that is interleaved and mutable.
  • Traits for linear channels.
  • Trait for linear mutable channels.
  • Trait used to govern sequential reading of an audio buffer.
  • Trait implemented for buffers that can be resized.
  • A sample that can be stored in an audio buffer. Types implementing this are known as being sample apt.
  • A buffer which has a unifom channel size.
  • Trait used to govern sequential writing to an audio buffer.